package com.hqyj.system.service;

import com.hqyj.system.model.User;

import java.util.List;

/**
 * @ClassName UserService
 * @Description
 * @Author zlf
 * @Date 2021/8/28 10:03
 * @Version 1.0
 **/

public interface UserService {
    User queryUserByUsernameAndPassword(User user);

    List<User> queryAllUser();

    int addUserByUser(User user);

    int deleteUserById(int userId);

    User queryUserById(int userId);

    int updateUserByUser(User user);

    User queryUserByUsername(String username);
}
